﻿<!DOCTYPE html>
<html>
    <head>
        <title>Flower Shop - Đăng Ký</title>
        <meta charset="UTF-8"> 
        <script type="text/javascript" src="<?php echo asset_url() . 'js/jquery-2.0.3.min.js'; ?>"></script>
        <script type="text/javascript" src="<?php echo asset_url() . 'js/validate.js'; ?>"></script>
        <style type="text/css">
            .form {
                margin-left: 450px;
                margin-right: 450px;
                background-color: #6CC;
            }
            .required{
                width: 250px
            }
            .requiredtime{
                width: 180px;
            }
        </style>
        <script>
            $(document).ready(function() {
                jQuery.validator.addClassRules("required", {
                    required: true,
                    minlength: 6
                });
            });
        </script>
    </head>

    <body>
        <form action="dangky/dangki" method="post">
            <div  class="form" align="center">
                <H2>ĐĂNG KÝ NGƯỜI DÙNG</H2>

                <p> <input placeholder="Họ và tên" class="required" minlength="6" name="HoVaTen" type="text" /></p>
                <p> <input placeholder="Tên đăng nhập"  class="required" minlength="6" name="tendangnhap" type="text" /></p>
                <p> <input placeholder="Mật khẩu"   class="required" minlength="6" name="matkhau" type="password" /></p>
                <p><input  placeholder="Email" class="required email"  name="email" type="text" /></p>
                <p><input  placeholder="Địa Chỉ" class="required"  name="diachi" type="text" /></p>
                <p><input  placeholder="Số Điện Thoại" class="required"  name="sdt" type="text" /></p>
                <p> Nam <input name="gioitinh" type="radio" value="1" /> Nữ <input name="gioitinh" type="radio" value="2" /></p>
                <p><label>Ngày Sinh</label> <input class="requiredtime" name="ngaysinh" type="date" /></p>
                <p><input name="dangki" type="submit" value="Đăng kí" /> <input name="huy" type="submit" value="Hủy" /></p>
            </div>
        </form>
    </body>
</html>

<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of dangky
 *
 * @author Tuyet
 */
?>
